package game.leon.engine.data;

import org.codehaus.jackson.map.ObjectMapper;

/**
 * User: bianpeng
 * Date: 12-2-2
 */
public class FormatUtil {
    private ObjectMapper json = new ObjectMapper();
    public ObjectMapper getJson() {
        return json;
    }
    private FormatUtil() {

    }
    private static FormatUtil instance;
    public static FormatUtil getInstance() {
        if (instance == null) {
            instance = new FormatUtil();
        }
        return instance;
    }
}
